/*
 * Ship.h
 *
 *  Created on: Jun 28, 2012
 *      Author: marco
 */

#ifndef SHIP_H_
#define SHIP_H_
#include <iostream>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

using namespace std;

class Ship {
public:
	Ship(void);
	virtual ~Ship(void);

	void refresh(void);

	double* get_position(void);
	void set_position(double x, double y);

	double* get_ship_center();
	void set_ship_center(double x, double y);

	double* get_speed();
	void set_speed(double x, double y);

	bool check_collision(void);

private:
	double center[2];
	double position[2];
	double speed[2];
};

#endif /* Ship_H_ */
